package com.hvgroup.modules.sanic.domain.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @migratedFrom Python
 * @source constants/code_enum.py
 * @originalClass DiFyCodeEnum
 * @description DiFy 返回数据流的标识枚举
 */
@Getter
@AllArgsConstructor
public enum DiFyCodeEnum {
    MESSAGE("message", "答案"),
    MESSAGE_END("message_end", "结束"),
    MESSAGE_ERROR("error", "错误"),

    WORKFLOW_FINISHED("workflow_finished", "");


    private final String code;
    private final String description;
}